package com.sanjiahantang.youjiaclient.config;


import android.graphics.Color;

import com.sanjiahantang.youjiaclient.R;

/**
 * Created by admin on 2017/6/12.
 */

public interface StaticValue {
    String KEY_TYPE_GOODSID = "typeGoodsId";
    String KEY_CONMENT_TITLE = "pptitle";
    String KEY_TOKEN = "token";
    String KEY_PHONE = "phone";
    String KEY_PAGE = "page";
    String KEY_PAGE_SIZE = "pageSize";
    String KEY_PARAM = "param";
    String KEY_ID = "id";
    String KEY_KEYWORDS = "keyword";
    String KEY_TITLE = "title";
    String KEY_TAX_NO = "tax_no";
    String KEY_FILE_ID = "fileId";
    String KEY_BUSINESS_ID = "busiId";
    String KEY_BUSINESS_TYPE_ID = "busiTypeId";
    String KEY_FILE_NAME = "fileName";
    String KEY_FILE_BASE64_PIC = "fileBase64Pic";
    String KEY_ROLE_CODE = "roleCode";
    String KEY_customerPhone = "customerPhone";
    String KEY_NOTICE_CONTENT = "noticeContent";
    String KEY_JPUSH_RECEIVER = "jpush_recevier";
    String KEY_VERSION = "version";
    String KEY_LAT = "lat";
    String KEY_LON = "lon";
    String KEY_OBJECT = "object";
    String VIDEO_URL = "video_url";
    String KEY_CONFIGCODE = "configCode";
    String KEY_CONTRACT = "contractCode";
    String KEY_ROLEID = "roleId";
    String KEY_ROLEPHONE = "rolePhone";

    String FORMAT_ORDER_REMAIN = "已付:　¥%.2f  剩余:　¥%.2f";
    double DEFAULT_LAT = 29.565226;
    double DEFAULT_LON = 106.536012;
    int COLOR_PRIMARY = Color.rgb(0x44, 0xbb, 0x77);
    int DEFAULT_PAGE_SIZE = Integer.MAX_VALUE;
    int PAGE_SIZE = 10;
    int START_PAGE = 1;

    String KEY_TYPE = "type";
    int SEARCH_TYPE_CASE = 0x1101;
    int SEARCH_TYPE_HELP = 0x1102;
    int SEARCH_TYPE_GOODS = 0x1103;
    int SEARCH_TYPE_GOODS_FROM_LIST = 0x1104;

    int WEB_TYPE_HELP = 0x1302;
    int WEB_TYPE_MESSAGE = 0x1303;
    int WEB_TYPE_CONTRACT = 0x1306;
    int WEB_TYPE_DISCLAIMER = 0x1307;
    int WEB_TYPE_RICHTEXT = 0x1308;
    int WEB_TYPE_3D = 0x1309;


    int RESPONSE_CODE_SUC = 200;
    int RESPONSE_CODE_FAIL = 500;
    int RESPONSE_CODE_TIME_OUT = 900;
    int RESPONSE_CODE_LOGOUT = 901;
    int RESPONSE_CODE_CONTRACT = 902;


    int HOLDER_TYPE_GOODS_BANNER = 0x900d01;
    int HOLDER_TYPE_GOODS_DETAIL = 0x900d02;
    int HOLDER_TYPE_GOODS_COMMENTS = 0x900d03;//评论
    int HOLDER_TYPE_GOODS_WEBVIEW_TITLE = 0x900d04;//网页
    int HOLDER_TYPE_GOODS_WEBVIEW = 0x900d05;//网页
    int HOLDER_TYPE_GOODS_RECOMMEND = 0x900d06;//推荐
    int HOLDER_TYPE_GOODS_BOTTOM = 0x900d07;//没有更多了
    int HOLDER_TYPE_GOODS_RECOMMEND_MORE = 0x900d66;

    int HOLDER_TYPE_GOODS_ATTR_PROPERTY = 0x900da01;
    int HOLDER_TYPE_GOODS_ATTR_COUNT = 0x900da02;

    int HOLDER_TYPE_MATCH_HEADER = 0x3a01;
    int HOLDER_TYPE_MATCH_RECOMMEND = 0x3a02;

    int HOLDER_TYPE_EVALUATE_GOODS = 0xe7a900d;


    int CALLBACK_TYPE_RECYCLER_ADAPTER = 1;//recyclerView adapter
    int CALLBACK_TYPE_RECOVER = 2;//特殊事件
    int CALLBACK_TYPE_QUICK_ADAPTER = 3;//quick adapter
    int CALLBACK_TYPE_GOODS_DETAIL = 4;//特殊事件
    int CALLBACK_TYPE_BOOLEAN = 5;//boolean
    int CALLBACK_TYPE_ADD_PICTURE = 6;//特殊事件
    int CALLBACK_TYPE_NUM = 7;//int
    int CALLBACK_TYPE_DELETE_PICTURE = 8;//特殊事件
    int CALLBACK_TYPE_ORDER_DATA = 9;//特殊事件
    int CALLBACK_TYPE_FAILURE = 10;//请求失败
    int CALLBACK_TYPE_ADDRESS = 11;//特殊事件
    int CALLBACK_TYPE_MORE = 12;//更多
    int CALLBACK_TYPE_LIST = 13;//列表

    int ORDER_TYPE_GOODS = 1;
    int ORDER_TYPE_CART = 2;
    int ORDER_TYPE_CANCEL = 3;
    int ORDER_TYPE_PAY = 4;
    int ORDER_TYPE_PART_PAY = 5;
    int ORDER_TYPE_PAYED = 6;
    int ORDER_TYPE_COMPLETE = 7;
    int ORDER_TYPE_CLOSE = 8;
    int ORDER_TYPE_EVALUATED = 9;

    int ORDER_PAGE_HOLDER_TYPE_ADDRESS = 0;
    int ORDER_PAGE_HOLDER_TYPE_GOODS_LIST = 1;
    int ORDER_PAGE_HOLDER_TYPE_GHT = 2;
    int ORDER_PAGE_HOLDER_TYPE_INVOICE = 3;
    int ORDER_PAGE_HOLDER_TYPE_CONSUMER_MESSAGE = 4;
    int ORDER_PAGE_HOLDER_TYPE_STATE = 5;

    int INTENT_SELECT_PIC = 1;
    int INTENT_CONTRACT = 2;

    int INTENT_JPUSH_RECEIVER = 3;

    int RES_ID_GOODS_DEFAULT = R.drawable.i_goods_default;


    int MeCaseDetail_LIST_DATA = 0;

    int SHOW_SIZE = 5;//订单列表商品默认显示数量 超过隐藏

    int DOUBLE_CLICK_TIME_SPACE = 2000;

    String TEXT_DISCLAIMER = "<style>p{text-size:12px;text-indent:2em;}</style>\n" +
            "<h4>优家库协议（草案）</h4>\n" +
            "<p>欢迎您来到优家库。</p>\n" +
            "<p>\n" +
            "请您仔细阅读以下条款，如果您对本协议的任何条款表示异议，您可以选择不进入优家库。当您注册成功，无论是进入优家库，还是在优家库上发布任何内容（即「内容」），均意味着您（即「用户」）完全接受本协议项下的全部条款。</p>\n" +
            "\n" +
            "<p>使用规则</p>\n" +
            "\n" +
            "<p>用户注册成功后，优家库将给予每个用户一个用户帐号及相应的密码，该用户帐号和密码由用户负责保管；用户应当对以其用户帐号进行的所有活动和事件负法律责任。</p>\n" +
            "<p>用户须对在优家库的注册信息的真实性、合法性、有效性承担全部责任，用户不得冒充他人；不得利用他人的名义发布任何信息；不得恶意使用注册帐号导致其他用户误认；否则优家库有权立即停止提供服务，收回其帐号并由用户独自承担由此而产生的一切法律责任。</p>\n" +
            "<p>用户直接或通过各类方式（如 RSS 源和站外 API 引用等）间接使用优家库服务和数据的行为，都将被视作已无条件接受本协议全部内容；若用户对本协议的任何条款存在异议，请停止使用优家库所提供的全部服务。</p>\n" +
            "<p>优家库是一个信息分享、传播及获取的平台，用户通过优家库发表的信息为公开的信息，其他第三方均可以通过优家库获取用户发表的信息，用户对任何信息的发表即认可该信息为公开的信息，并单独对此行为承担法律责任；任何用户不愿被其他第三人获知的信息都不应该在优家库上进行发表。</p>\n" +
            "<p>用户承诺不得以任何方式利用优家库直接或间接从事违反中国法律以及社会公德的行为，优家库有权对违反上述承诺的内容予以删除。</p>\n" +
            "<p>用户不得利用优家库服务制作、上载、复制、发布、传播或者转载如下内容：</p>\n" +
            "\n" +
            "<p>反对宪法所确定的基本原则的；</p>\n" +
            "<p>危害国家安全，泄露国家秘密，颠覆国家政权，破坏国家统一的；</p>\n" +
            "<p>损害国家荣誉和利益的；</p>\n" +
            "<p>煽动民族仇恨、民族歧视，破坏民族团结的；</p>\n" +
            "<p>破坏国家宗教政策，宣扬邪教和封建迷信的；</p>\n" +
            "<p>散布谣言，扰乱社会秩序，破坏社会稳定的；</p>";

}
